package com.lagou.service;

import javax.servlet.http.HttpServletResponse;

public interface UserService{

    Integer register(String email, String password, String code, HttpServletResponse response);

    Boolean isRegistered(String email);

    String login(String email, String password, HttpServletResponse response);

    String info(String token);
}
